package org.ccay.hypertext;

import java.util.HashMap;
import java.util.Map;

import org.ccay.core.base.BaseResourceVO;
import org.ccay.hypertext.enumerable.HyperCategoryEnum;

/**
 * 富文本实体
 * 富文本提供在非停机模式下动态修改的资源定义
 * 例如：动态修改html,js,css;动态修改邮件模板等
 * @author chaowangbang
 *
 */
public class HyperText extends BaseResourceVO{ 
	
	private static final long serialVersionUID = 20171210L;
	
	/**
	 * 主键
	 */
	private Long id;

	/**
	 * 富文本类型
	 */
	//private HyperCategoryEnum category;
	private Integer category;
	
	/**
	 * 名称
	 */
	private String name;
	
	/**
	 * 描述
	 */
	private String description;
	
	/**
	 * 内容
	 */
	private String content;
	
	/**
	 * 扩展属性
	 */
	private  Map<String,String> addtionProperty = new HashMap<String,String>();
	

//	public HyperCategoryEnum getCategory() {
//		return category;
//	}
//
//
//	public void setCategory(HyperCategoryEnum category) {
//		this.category = category;
//	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public Map<String, String> getAddtionProperty() {
		return addtionProperty;
	}


	public void setAddtionProperty(Map<String, String> addtionProperty) {
		this.addtionProperty = addtionProperty;
	}


	public Integer getCategory() {
		return category;
	}


	public void setCategory(Integer category) {
		this.category = category;
	}


	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}
}
